
//通过Ip定位，获取当前地理位置
    var position={
        city:"#city",
        _th:this,
        setCity:function(){

            $.getScript('http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js', function(_result) {
                    console.log(position.city);
                        if (remote_ip_info.ret == '1') {
                                
                                $(position.city).html(remote_ip_info.city);
                        } else {
                            alert('没有找到匹配的IP地址信息！');
                        }
            });

        }

    }        
    position.setCity();


//点击input输入框，进行跳转
var linkSkip={
    //设置跳转的url
    url:"http://www.baidu.com",
    inputSkip:function(){
        location.href=linkSkip.url;
    }
    
}
$("#search-input").on("click",linkSkip.inputSkip);
$("#close").on("click",function(){
    $("#download-app").hide();
    console.log("隐藏成功");
})




    
    

